package com.kefu.call.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author CodeGenerator
 * @date 2022/07/24
 */
@Data
@TableName(value="call_dialplan")
@ApiModel(description = "拨号计划(路由)")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CallDialplan implements Serializable{

	private static final long serialVersionUID = 1L;
	
	@TableId(value="F_Oid",type=IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String fOid;
    
    @TableField(value="Description")
    @ApiModelProperty(value = "备注")
    @Builder.Default
    private String description = "default";
    
    @TableField(value="Context")
    @ApiModelProperty(value = "方向")
    @Builder.Default
    private String context = "public";
    
    @TableField(value="Name")
    @ApiModelProperty(value = "名称")
    @Builder.Default
    private String name = "default";

    
    @TableField(value="Expression")
    @ApiModelProperty(value = "表达式")
    private String expression;
    
    @TableField(value="application")
    @ApiModelProperty(value = "App[忽略不写]")
    private String application;
    
    @TableField(value="appData")
    @ApiModelProperty(value = "忽略不写")
    private String appdata;
    
    @TableField(value="applicationId")
    @ApiModelProperty(value = "忽略不写")
    private Integer applicationid;
    
    @TableField(value="domain")
    @ApiModelProperty(value = "域")
    private String domain;
    
    @TableField(value="sort")
    @ApiModelProperty(value = "排序")
    @Builder.Default
    private Integer sort = 1;
    

}